//
//  JAddShopCarTopView.h
//  HeadIndustry
//
//  Created by jun on 2017/8/31.
//  Copyright © 2017年 jun. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^ProductAttributeBlock)(NSDictionary *attributeDic);
typedef void(^ImgBtnBlock)(NSArray *imgArr);
typedef void(^CloseBtnBlock)();

@interface JAddShopCarTopView : UIView

@property (nonatomic , copy) ImgBtnBlock imgBtnBlock;
@property (nonatomic , copy) ProductAttributeBlock productAttributeBlock;
@property (nonatomic , copy) CloseBtnBlock closeBtnBlock;

@property (nonatomic , strong) UIView *topView;

@property (nonatomic , strong) UIScrollView *btnSelView;
@property (nonatomic , strong) NSMutableArray *btnSelArr;
@property (nonatomic , strong) NSMutableArray *btnImgArr;


@property (nonatomic , strong) UIButton *productBtnImg;
@property (nonatomic , strong) YYLabel *productName;
@property (nonatomic , strong) UIButton *concelBtn; // 取消按钮
@property (nonatomic , strong) YYLabel *productPrice;
@property (nonatomic, strong) YYLabel *selSizeLa;
@property (nonatomic, strong) YYLabel *textSizeLa;

@property (nonatomic , strong) JProductDetailModel *productModel;

@property (nonatomic, copy) NSArray *imgArr;

@property (nonatomic, copy) NSArray *dataArr;

- (CGFloat)getViewHeight;

@end
